package com.ruoyi.boss.service;

import java.util.List;
import com.ruoyi.boss.domain.InvoiceManagementOne;

/**
 * 发票详情Service接口
 * 
 * @author rui
 * @date 2025-08-18
 */
public interface IInvoiceManagementOneService 
{
    /**
     * 查询发票详情
     * 
     * @param invoiceId 发票详情主键
     * @return 发票详情
     */
    public InvoiceManagementOne selectInvoiceManagementOneByInvoiceId(Long invoiceId);

    /**
     * 查询发票详情列表
     * 
     * @param invoiceManagementOne 发票详情
     * @return 发票详情集合
     */
    public List<InvoiceManagementOne> selectInvoiceManagementOneList(InvoiceManagementOne invoiceManagementOne);

    /**
     * 新增发票详情
     * 
     * @param invoiceManagementOne 发票详情
     * @return 结果
     */
    public int insertInvoiceManagementOne(InvoiceManagementOne invoiceManagementOne);

    /**
     * 修改发票详情
     * 
     * @param invoiceManagementOne 发票详情
     * @return 结果
     */
    public int updateInvoiceManagementOne(InvoiceManagementOne invoiceManagementOne);

    /**
     * 批量删除发票详情
     * 
     * @param invoiceIds 需要删除的发票详情主键集合
     * @return 结果
     */
    public int deleteInvoiceManagementOneByInvoiceIds(Long[] invoiceIds);

    /**
     * 删除发票详情信息
     * 
     * @param invoiceId 发票详情主键
     * @return 结果
     */
    public int deleteInvoiceManagementOneByInvoiceId(Long invoiceId);
}
